class Food {
  String name;
  double price;
  double rate;
  int rateCount;
  String image;
  String foodType;
  Food({this.name, this.price, this.image, this.rate, this.rateCount, this.foodType});
}

List<String> foodTypes = [
  '全部',
  '火锅类',
  '粥类',
  '水饺类',
];

List<Food> foods = [
  Food(
    name: '牛肉火锅',
    price: 10,
    rate: 3.0,
    rateCount: 15,
    image: 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=2285121828,2707659117&fm=26&gp=0.jpg',
    foodType: foodTypes[1],
  ),
  Food(
    name: '皮蛋瘦肉砂锅粥1',
    price: 20,
    rate: 2,
    rateCount: 25,
    image: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=4143376151,340437623&fm=26&gp=0.jpg',
    foodType: foodTypes[2],
  ),
  Food(
    name: '皮蛋瘦肉砂锅粥2',
    price: 30,
    rate: 3,
    rateCount: 67,
    image: 'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1485062674,636739362&fm=26&gp=0.jpg',
    foodType: foodTypes[2],
  ),
  Food(
    name: '芹菜水饺',
    price: 40,
    rate: 4,
    rateCount: 29,
    image: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1173536728,742202494&fm=26&gp=0.jpg',
    foodType: foodTypes[3],
  ),
  Food(
    name: '麻辣火锅',
    price: 10,
    rate: 3.0,
    rateCount: 15,
    image: 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3970936969,600277292&fm=26&gp=0.jpg',
    foodType: foodTypes[1],
  ),
  Food(
    name: '皮蛋瘦肉砂锅粥3',
    price: 20,
    rate: 2,
    rateCount: 25,
    image: 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3992914797,2316804246&fm=26&gp=0.jpg',
    foodType: foodTypes[2],
  ),
  Food(
    name: '皮蛋瘦肉砂锅粥4',
    price: 30,
    rate: 3,
    rateCount: 67,
    image: 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=2254644744,1931963201&fm=26&gp=0.jpg',
    foodType: foodTypes[2],
  ),
  Food(
    name: '鲜肉水饺',
    price: 40,
    rate: 4,
    rateCount: 29,
    image: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3178213159,228032543&fm=26&gp=0.jpg',
    foodType: foodTypes[3],
  ),
  Food(
    name: '豆浆火锅',
    price: 10,
    rate: 3.0,
    rateCount: 15,
    image: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1834015884,1059339751&fm=26&gp=0.jpg',
    foodType: foodTypes[1],
  ),
  Food(
    name: '皮蛋瘦肉砂锅粥5',
    price: 20,
    rate: 2,
    rateCount: 25,
    image: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2604351754,2980787334&fm=26&gp=0.jpg',
    foodType: foodTypes[2],
  ),
  Food(
    name: '皮蛋瘦肉砂锅粥6',
    price: 30,
    rate: 3,
    rateCount: 67,
    image: 'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2918116958,1066668932&fm=26&gp=0.jpg',
    foodType: foodTypes[2],
  ),
  Food(
    name: '蛋菜水饺',
    price: 40,
    rate: 4,
    rateCount: 29,
    image: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=20160168,3529516868&fm=26&gp=0.jpg',
    foodType: foodTypes[3],
  ),
];
